import request from '@/api/request'
function getKiadList(){
  return request({
    url:'/api/leju/admin/kind/list',
    method:'GET',

  })
}
//新增或更新分类
function upKiad(kv){
  return request({
    url:'/api/leju/admin/kind/saveOrUpdate',
    method:'POST',
    kv
  })
}


//删除
function delKian(kv){
  return request({
    url:'/api/leju/admin/kind/del',
    method:'GET',
    kv
  })
}
export default {
  getKiadList,
  upKiad,
  delKian

}
